<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:replace="_fragments :: head(~{::title})">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>归档页面</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
    <link rel="stylesheet" href="../static/css/mecss.css">
    <link rel="stylesheet" href="../static/css/blog-background.css">
</head>

<body>
<!--导航-->
<nav th:replace="_fragments :: menu(4)" class="ui inverted attached segment m-padded-tb-mini m-shadow-small">
    <div class="ui container">
        <div class="ui inverted secondary stackable menu">
            <h2 class="ui teal header item">Meteor</h2>
            <a href="#" class="m-item item m-mobile-hide"><i class="mini home icon m-margin-biaoqian"></i>首页</a>
            <a href="#" class="m-item item m-mobile-hide"><i class="mini idea icon m-margin-biaoqian"></i>分类</a>
            <a href="#" class="active m-item item m-mobile-hide"><i
                    class="mini tags icon m-margin-biaoqian"></i>标签</a>
            <a href="#" class="m-item item m-mobile-hide"><i class="mini clone icon m-margin-biaoqian"></i>归档</a>
            <a href="#" class="m-item item m-mobile-hide"><i class="mini info icon m-margin-biaoqian"></i>关于我</a>
            <div class="right m-item item m-mobile-hide">
                <div class="ui icon input">
                    <input type="text" placeholder="搜索...">
                    <i class="search link icon"></i>
                </div>
            </div>
        </div>
    </div>
    <a href="#" class="ui menu toggle black icon button m-top-right m-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>
<!--中间内容-->
<div class="m-container-small m-padded-tb-big">
    <div class="ui container animate__animated animate__tada">
        <h1  class="ui center  aligned header animate__animated animate__tada d-web-info-box" style="margin-top: 20px;margin-bottom: 20px" >时间不在于你拥有多少，而在于你怎样使用——————时之沙 · 艾克</h1>
        <!-- header -->
        <div class="ui top padded segment">
            <div class="ui middle aligned two column grid">
                <div class="column">
                    <h3 class="ui teal header">归档</h3>
                </div>
                <div class="right aligned column">
                    共<h2 th:text="${blogs.size()}" class="ui orange header m-inline-block m-text-thin">14</h2>篇博客
                </div>
            </div>
        </div>
    </div>
    <div th:each="blog:${blogs}" class="ui fluid vertical menu animate__animated animate__tada">
        <a href="#" target="_blank" class="item" th:href="@{/blog/{id}(id=${blog.id})}">
                <span>
                    <i class="teal mini circle icon"></i><span id="t" class="tt ui" th:text="${blog.title}" >啊啊啊</span>
                    <div th:text="${blog.createTime}" class="ui teal basic left pointing label m-padded-mini">1月1日</div>
                </span>
            <div class="ui orange basic left pointing label m-padded-yc">原创</div>
        </a>
    </div>
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<!-- 底部 -->
<footer th:replace="_fragments :: footer" class="ui inverted attached segment m-padded-tb-massive">
    <div class="ui center aligned container">
        <div class="ui inverted divided stackable grid">
            <div class="three wide column">
                <div class="ui inverted link list">
                    <div class="item">
                        <img src="../static/image/myvx.jpg" class="ui rounded image" alt="" style="width:100px">
                    </div>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header m-text-thin m-text-spaced">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">用户故事</a>
                    <a href="#" class="item">用户故事</a>
                    <a href="#" class="item">用户故事</a>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header m-text-thin m-text-spaced">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">用户故事</a>
                    <a href="#" class="item">用户故事</a>
                    <a href="#" class="item">用户故事</a>
                </div>
            </div>
            <div class="seven wide column">
                <h4 class="ui inverted header m-text-thin m-text-spaced">最新博客</h4>
                <p class="m-text-thin m-text-spaced m-opacity-mini">哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈</p>
            </div>
        </div>
        <div class="ui inverted section divider"></div>
        <p class="m-text-thin m-text-spaced m-opacity-tiny">Copright @ 2222 Meteor Designed By </p>
    </div>

</footer>

<th:block th:replace="_fragments :: script">
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
</th:block>

<script>
    $(".menu.toggle").click(function () {
        $(".m-item").toggleClass("m-mobile-hide");
    });
</script>
</body>

</html>